package day02;

public class HomeWork02 {
    public static void main(String[] args) {
        //1.变量的练习
        int sf_56;
        int a,b, c,d;
        short aa,bb,cc;
        a=23;
        b=34;
        c=45;
        d=46;
        aa=45;
        bb=23;
        cc=34;
        int d1=23,e=67;
        short dd=34,ee=56;
        int g=56;
        int h=g+10;
        System.out.println(h);
        g=g+10;
        System.out.println(g);
        int wer_67$,TY_6;
       //非法 int 3fg,_dg43k;

        int wer;
        int er,rt,dg;
        byte aa1,df,er3;
        int length=23,side=345;
        er=366;
        rt=78;
        int gg=34;
        int hg=g+10;
        System.out.println(hg);
        gg=gg+10;
        System.out.println(hg);
     //   int 2wedewf,4dg;//错误命名


        //2.基本数据类型的练习：int
        int a1=34,s=356;
        System.out.println(a1/s);
        System.out.println(a1+s);
        int we=2147483647,werw=2147483622;
        System.out.println(we+werw);

        int bq=45,v=456;
        System.out.println(bq/v);
        int wewr=243542343,ef=343545435;
        System.out.println(wewr+ef);


        //3. 基本数据类型的练习：long
        long qw=2354656,fdj=43656573445L;
        long rt1=fdj+qw;
        long e1=10000000000L*2*10;
        System.out.println(rt);
        System.out.println(e);

        long we1=1000000000L*23445;
        System.out.println(we);



       // 4. 基本数据类型的练习：double
         double a11=45.98889;
         double c11=4.6573534;
         float w1b=45.394F;
         System.out.println(a-c);

         double cc1=4.56435,dd1=4.543543598;
         float re=346546F;
         System.out.println(cc-dd);


         //5. 基本数据类型的练习：boolean
         boolean aa11=true,e1r=true;
         boolean cc11=false,df1=false;

         boolean cd=true,fd=true;
         boolean  cdr=false,rt11=false;


        //6. 基本数据类型的练习：char
        char ss='e';
        char ccc='r';
        char ees='只';
        char hh='*';
        char gg1='\\';
        System.out.println(gg1);

        char cc2='s';
        char bb4='中';
        char yy7='$';
        char w6e='&';
        char bbb='\\';
        System.out.println(bbb);


    }
}
